package top.xia17.plugins.fast.user.password;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.Map;

/**
 * 密码策略配置
 * @author xia17
 * @since 2022/2/23 9:43
 */
@Configuration
@ConfigurationProperties(prefix = "xia17fast.user.password-generator")
@Data
public class PasswordGeneratorProperties {


    /**
     * 默认的密码生成器
     */
    private String defaultGenerator = "stable";

    /** 各种密码生成器的属性 */
    private Map<String, Map<String,String>> generatorProperties = new HashMap<>();



}
